<h1>Postes List</h1>

<table>
  <thead>
    <tr>
      <th>Id poste</th>
      <th>Nom poste</th>
    </tr>
  </thead>
  <tbody>
    <?php foreach ($postes as $poste): ?>
    <tr>
      <td><a href="<?php echo url_for('Poste/show?id_poste='.$poste->getIdPoste()) ?>"><?php echo $poste->getIdPoste() ?></a></td>
      <td><?php echo $poste->getNomPoste() ?></td>
    </tr>
    <?php endforeach; ?>
  </tbody>
</table>

  <a href="<?php echo url_for('Poste/new') ?>">New</a>
